public class Test7 {
    public static int add(int a, int b) {
        return a + b;
    }

    public static double add(double a, double b, double c) {
        return a + b + c;
    }

    public static void main(String[] args) {
        System.out.println("3+5 = " + add(3, 5));
        System.out.println("3.6+3.7+5.6 = " + add(3.6, 3.7, 5.6));
    }
}
